package com.glela.goods.model.vo;

import java.util.List;

import com.glela.goods.model.Category;

/**
 * @author houmf
 * @version 创建时间：2016年5月16日 下午2:59:44 
 * @name 分类
 */
public class CategoryVo  {

	private int categoryId ;//分类id
	
	private String name ;//分类名称
	
	private String icoPath ;//小图标图片路径
	
	private int orderNo ;//排序方式
	
	private int parentId ;//父分类id

	private List<CategoryVo> categoryVolist ;
	
	public CategoryVo(){}
	
	public CategoryVo(Category category) {
		super();
		this.categoryId = category.getId();
		this.name = category.getName();
		this.icoPath = category.getIcoPath();
		this.orderNo = category.getOrderNo();
		this.parentId = category.getParentId();
	}

	public List<CategoryVo> getCategoryVolist() {
		return categoryVolist;
	}

	public void setCategoryVolist(List<CategoryVo> categoryVolist) {
		this.categoryVolist = categoryVolist;
	}

	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcoPath() {
		return icoPath;
	}

	public void setIcoPath(String icoPath) {
		this.icoPath = icoPath;
	}

	public int getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(int orderNo) {
		this.orderNo = orderNo;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

}
